Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies #302

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Conversation

nicolas-brousse
Copy link
Collaborator

No description provided.

@nicolas-brousse nicolas-brousse added the dependencies Pull requests that update a dependency file label Dec 11, 2024
@nicolas-brousse nicolas-brousse self-assigned this Dec 11, 2024
@nicolas-brousse nicolas-brousse force-pushed the dependencies branch 2 times, most recently from 6d0277c to bd384c5 Compare December 11, 2024 16:26
app/models/processor_filter.rb Outdated Show resolved Hide resolved
@B-Rass
Copy link
Collaborator

B-Rass commented Dec 11, 2024

I can't build. I have an error with mini-racer.

Installing mini_racer 0.15.0 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    current directory: /Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/gems/3.3.0/gems/mini_racer-0.15.0/ext/mini_racer_extension
/Users/b.rasschaert/.asdf/installs/ruby/3.3.6/bin/ruby extconf.rb
checking for -lpthread... yes
checking for -lobjc... yes


WARNING: C++11 support is required for compiling mini_racer. Please make sure
you are using a compiler that supports at least C++11. Examples of such
compilers are GCC 4.7+ and Clang 3.2+.

If you are using Travis, consider either migrating your build to Ubuntu Trusty or
installing GCC 4.8. See mini_racer's README.md for more information.


checking for whether -Wl,--exclude-libs=ALL  is accepted as LDFLAGS... no
creating Makefile

current directory: /Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/gems/3.3.0/gems/mini_racer-0.15.0/ext/mini_racer_extension
make DESTDIR\= sitearchdir\=./.gem.20241211-61016-mowe27 sitelibdir\=./.gem.20241211-61016-mowe27 clean

current directory: /Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/gems/3.3.0/gems/mini_racer-0.15.0/ext/mini_racer_extension
make DESTDIR\= sitearchdir\=./.gem.20241211-61016-mowe27 sitelibdir\=./.gem.20241211-61016-mowe27
compiling mini_racer_extension.cc
make: *** [mini_racer_extension.o] Error 1

make failed, exit code 2

Gem files will remain installed in /Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/gems/3.3.0/gems/mini_racer-0.15.0 for inspection.
Results logged to /Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/gems/3.3.0/extensions/arm64-darwin-24/3.3.0/mini_racer-0.15.0/gem_make.out

  /Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/3.3.0/rubygems/ext/builder.rb:125:in `run'
  /Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/3.3.0/rubygems/ext/builder.rb:51:in `block in make'
  /Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/3.3.0/rubygems/ext/builder.rb:43:in `each'
  /Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/3.3.0/rubygems/ext/builder.rb:43:in `make'
  /Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/3.3.0/rubygems/ext/ext_conf_builder.rb:42:in `build'
  /Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/3.3.0/rubygems/ext/builder.rb:193:in `build_extension'
  /Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/3.3.0/rubygems/ext/builder.rb:227:in `block in build_extensions'
  /Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/3.3.0/rubygems/ext/builder.rb:224:in `each'
  /Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/3.3.0/rubygems/ext/builder.rb:224:in `build_extensions'
  /Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/3.3.0/rubygems/installer.rb:844:in `build_extensions'
  /Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/gems/3.3.0/gems/bundler-2.5.9/lib/bundler/rubygems_gem_installer.rb:76:in `build_extensions'
  /Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/gems/3.3.0/gems/bundler-2.5.9/lib/bundler/rubygems_gem_installer.rb:28:in `install'
  /Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/gems/3.3.0/gems/bundler-2.5.9/lib/bundler/source/rubygems.rb:205:in `install'
  /Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/gems/3.3.0/gems/bundler-2.5.9/lib/bundler/installer/gem_installer.rb:54:in `install'
  /Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/gems/3.3.0/gems/bundler-2.5.9/lib/bundler/installer/gem_installer.rb:16:in `install_from_spec'
  /Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/gems/3.3.0/gems/bundler-2.5.9/lib/bundler/installer/parallel_installer.rb:132:in `do_install'
  /Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/gems/3.3.0/gems/bundler-2.5.9/lib/bundler/installer/parallel_installer.rb:123:in `block in worker_pool'
  /Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/gems/3.3.0/gems/bundler-2.5.9/lib/bundler/worker.rb:62:in `apply_func'
  /Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/gems/3.3.0/gems/bundler-2.5.9/lib/bundler/worker.rb:57:in `block in process_queue'
  <internal:kernel>:187:in `loop'
  /Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/gems/3.3.0/gems/bundler-2.5.9/lib/bundler/worker.rb:54:in `process_queue'
  /Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/gems/3.3.0/gems/bundler-2.5.9/lib/bundler/worker.rb:90:in `block (2 levels) in create_threads'

An error occurred while installing mini_racer (0.15.0), and Bundler cannot continue.

@nicolas-brousse nicolas-brousse force-pushed the dependencies branch 2 times, most recently from 3b4d3e9 to 6fa9dfc Compare December 18, 2024 15:51
@nicolas-brousse
Copy link
Collaborator Author

@B-Rass fixed

@B-Rass
Copy link
Collaborator

B-Rass commented Dec 18, 2024

@B-Rass fixed

I still have an error on mini-racer

Installing mini_racer 0.15.0 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory:
/Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/gems/3.3.0/gems/mini_racer-0.15.0/ext/mini_racer_extension
/Users/b.rasschaert/.asdf/installs/ruby/3.3.6/bin/ruby extconf.rb
checking for -lpthread... yes
checking for -lobjc... yes


WARNING: C++11 support is required for compiling mini_racer. Please make sure
you are using a compiler that supports at least C++11. Examples of such
compilers are GCC 4.7+ and Clang 3.2+.

If you are using Travis, consider either migrating your build to Ubuntu Trusty or
installing GCC 4.8. See mini_racer's README.md for more information.


checking for whether -Wl,--exclude-libs=ALL  is accepted as LDFLAGS... no
creating Makefile

current directory:
/Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/gems/3.3.0/gems/mini_racer-0.15.0/ext/mini_racer_extension
make DESTDIR\= sitearchdir\=./.gem.20241218-97072-1fh97o sitelibdir\=./.gem.20241218-97072-1fh97o clean

current directory:
/Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/gems/3.3.0/gems/mini_racer-0.15.0/ext/mini_racer_extension
make DESTDIR\= sitearchdir\=./.gem.20241218-97072-1fh97o sitelibdir\=./.gem.20241218-97072-1fh97o
compiling mini_racer_extension.cc
make: *** [mini_racer_extension.o] Error 1

make failed, exit code 2

Gem files will remain installed in
/Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/gems/3.3.0/gems/mini_racer-0.15.0 for inspection.
Results logged to
/Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/gems/3.3.0/extensions/arm64-darwin-24/3.3.0/mini_racer-0.15.0/gem_make.out

  /Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/3.3.0/rubygems/ext/builder.rb:125:in `run'
  /Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/3.3.0/rubygems/ext/builder.rb:51:in `block in make'
  /Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/3.3.0/rubygems/ext/builder.rb:43:in `each'
  /Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/3.3.0/rubygems/ext/builder.rb:43:in `make'
  /Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/3.3.0/rubygems/ext/ext_conf_builder.rb:42:in `build'
  /Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/3.3.0/rubygems/ext/builder.rb:193:in `build_extension'
/Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/3.3.0/rubygems/ext/builder.rb:227:in `block in
build_extensions'
  /Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/3.3.0/rubygems/ext/builder.rb:224:in `each'
  /Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/3.3.0/rubygems/ext/builder.rb:224:in `build_extensions'
  /Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/3.3.0/rubygems/installer.rb:844:in `build_extensions'
/Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/gems/3.3.0/gems/bundler-2.5.9/lib/bundler/rubygems_gem_installer.rb:76:in
`build_extensions'
/Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/gems/3.3.0/gems/bundler-2.5.9/lib/bundler/rubygems_gem_installer.rb:28:in
`install'
/Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/gems/3.3.0/gems/bundler-2.5.9/lib/bundler/source/rubygems.rb:205:in
`install'
/Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/gems/3.3.0/gems/bundler-2.5.9/lib/bundler/installer/gem_installer.rb:54:in
`install'
/Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/gems/3.3.0/gems/bundler-2.5.9/lib/bundler/installer/gem_installer.rb:16:in
`install_from_spec'
/Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/gems/3.3.0/gems/bundler-2.5.9/lib/bundler/installer/parallel_installer.rb:132:in
`do_install'
/Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/gems/3.3.0/gems/bundler-2.5.9/lib/bundler/installer/parallel_installer.rb:123:in
`block in worker_pool'
/Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/gems/3.3.0/gems/bundler-2.5.9/lib/bundler/worker.rb:62:in
`apply_func'
/Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/gems/3.3.0/gems/bundler-2.5.9/lib/bundler/worker.rb:57:in
`block in process_queue'
  <internal:kernel>:187:in `loop'
/Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/gems/3.3.0/gems/bundler-2.5.9/lib/bundler/worker.rb:54:in
`process_queue'
/Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/gems/3.3.0/gems/bundler-2.5.9/lib/bundler/worker.rb:90:in
`block (2 levels) in create_threads'

An error occurred while installing mini_racer (0.15.0), and Bundler cannot continue.

In Gemfile:
  mini_racer
bin/setup:8:in `system': Command failed with exit 5: bundle (RuntimeError)
	from bin/setup:8:in `system!'
	from bin/setup:18:in `block in <main>'
	from /Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/3.3.0/fileutils.rb:240:in `chdir'
	from /Users/b.rasschaert/.asdf/installs/ruby/3.3.6/lib/ruby/3.3.0/fileutils.rb:240:in `cd'
	from bin/setup:11:in `<main>'

@nicolas-brousse
Copy link
Collaborator Author

I previously got the error too, but not anymore in my side...

Copy link
Collaborator

@B-Rass B-Rass left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The mini-racer error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants